package com.united.ucts;

import com.united.frame.cache.redis.annotation.EnableRedis;
import com.united.frame.oss.aliyun.annotation.EnableAliOss;
import com.united.frame.oss.minio.annotation.EnableMinio;
import com.united.frame.plugin.feign.annotation.EnableFeignClient;
import com.united.frame.plugin.loadbalance.annotation.EnableLoadBalancer;
import com.united.frame.plugin.restTemplate.annotation.EnableRestTemplate;
import com.united.frame.verify.annotation.EnableVerify;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * 后台业务管理服务主启动类
 *
 * @author hudan
 * @version 1.0
 * @filename UctsAdminApplication.java
 * @copyright <a href="www.united.cn">www.united.cn</a>
 * @date 2019-10-10
 */
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = "com.united")
@RefreshScope
@EnableFeignClient
@EnableRedis
@EnableRestTemplate
@EnableLoadBalancer
@EnableAliOss
@EnableMinio
@EnableVerify
public class UctsAdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(UctsAdminApplication.class, args);
        System.out.println("==============================服务启动完成==============================");
    }
}